﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link href="styles/js-console.css" rel="stylesheet" />
</head>
<body>
    <div id="js-console"></div>
    <script src="scripts/js-console.js"></script>
    <script>
        function checkThirdBit(number) {
            jsConsole.writeLine((number >> 3) & 1);
        }

        checkThirdBit(8);
        checkThirdBit(9);
        checkThirdBit(896);
    </script>
</body>
</html>